package xyz.scoder;

public abstract class Character {
    protected WeaponBehavior weapon; // private
    public Character() { }
    void setWeapon(WeaponBehavior weapon) { this.weapon = weapon; }
    void fight() {
        weapon.useWeapon();
    }
}
